
CXX = g++
FLAGS = -O3 -Wall

OBJFILES = mesh.o weightsScheme.o deformationMesh.o
######################################################
all: $(OBJFILES)

.cpp.o: $*.h
	@echo "Compiling C++ code ...."
	$(CXX) -c $(FLAGS) $*.cpp

clean:
	rm *.o 

mesh.o: mesh.cpp mesh.h 
deformationMesh.o: deformationMesh.h deformationMesh.cpp
weightsScheme.o: weightsScheme.h weightsScheme.cpp
